package 继承;

public class 父类 {
    private String 姓名;
    private int 身高;
    int 体重;
    String 职业;

    private void 抽烟() {
        System.out.println("抽烟");
    }

    private void 喝酒() {
        System.out.println("喝酒");
    }

    private void 烫头() {
        System.out.println("烫头");
    }

    public void 说话() {
        System.out.println("说话!");
    }

    public 父类() {
    }
}
